home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Magazine / SoundLab / MSE-Demo / definitions / Test / Test.def
Encoding:
Text File  |  1997-07-10  |  6.8 KB  |  538 lines

  1. Define Device (
  2.     Manufacturer "Test"
  3.     Device "Test"
  4.     CharSet (
  5.         az2AZ
  6.         Disable (
  7.             ' !   #   %   &   (   )   :   ;   ?   @   [   ]   ^   ` {|}~
  8.             $21 $23 $25 $26 $28 $29 $3A $3B $3F $40 $5B $5D $5E $60 $7B-$7E
  9.         )
  10.         Remap (
  11.             $3C to $28 ' < (
  12.             $3E to $29 ' > )
  13.         )
  14.     )
  15.     NoteRange 20 50
  16. )
  17.  
  18. Define Usage (
  19.     "Important usage information"
  20.     "can be defined as well!"
  21.     "------------------------------------"
  22.     "It's a great way to remind yourself"
  23.     "about things you need to remember"
  24.     "about each module!"
  25. )
  26.  
  27. Define Font "Topaz2" (
  28.     Name "Topaz2.font"
  29.     Size 8
  30. )
  31.  
  32. Define Font "Garnet" (
  33.     Name "Garnet.font"
  34.     Size 16
  35.     Style ( BOLD )
  36. )
  37.  
  38. Define Font "Numbers" (
  39.     Name "Topaz2N.font"
  40.     Size 8
  41. )
  42.  
  43. Define Font "Helvetica" (
  44.     Name "Helvetica.font"
  45.     Size 9
  46. )
  47.  
  48. Define Font "Topaz2p" (
  49.     Name "Topaz2p.font"
  50.     Size 8
  51. )
  52.  
  53. Define Window "Main" (
  54.     Position 10 19
  55.     Size 340 200
  56.     Border
  57. )
  58.  
  59. Define Window "Second" (
  60.     Position 350 16
  61.     Size 250 250
  62. )
  63.  
  64. Define Window "Third" (
  65.     Position 10 240
  66.     Size 314 150
  67.     Border
  68. )
  69.  
  70. Define Window "Draggable" (
  71.     Position 330 290
  72.     Size 300 100
  73.     DragBar
  74. )
  75.  
  76. Define Link "SliderTextTest" (
  77.     Type Texts (
  78.         Font "Helvetica"
  79.         Position 0 19
  80.         Size 100 8
  81.         Data (
  82.             "1"
  83.             "Neeto!"
  84.             "Special Gadget"
  85.             "Sting"
  86.             "5"
  87.             "Perfect for me"
  88.         )
  89.     )
  90. )
  91.  
  92. Define Link "EQ_Gain" (
  93.     Type Numbers (
  94.         Font "Helvetica"
  95.         Position 0 -12
  96.         Size 100 8
  97.         MinValue -12
  98.         Skip .1
  99.         LevelText "dB"
  100.     )
  101. )
  102.  
  103. Define Link "Note" (
  104.     Type Note (
  105.         Font "Numbers"
  106.         Position 0 -12
  107.         Size 100 8
  108.     )
  109. )
  110.  
  111. Define Link "Auto-E" (
  112.     Type ARexx (
  113.         File "modules/Test/Test.rexx"
  114.     )
  115. )
  116.  
  117. Define Link "Calc-E" (
  118.     Type ARexx (
  119.         File "modules/Test/Test2.rexx"
  120.     )
  121. )
  122.  
  123. 'Define Data "List" (
  124. '    Type List
  125. '            Data (
  126. '                "Item 0 - FIRST"
  127. '                "Item 1"
  128. '                "Item 2"
  129. '                "Item 3"
  130. '                "Item 4"
  131. '                "Item 5"
  132. '                "Item 6"
  133. '                "Item 7"
  134. '                "Item 8"
  135. '                "Item 9"
  136. '                "Item 10"
  137. '                "Item 11"
  138. '                "Item 12"
  139. '                "Item 13"
  140. '                "Item 14"
  141. '                "Item 15"
  142. '                "Item 16"
  143. '                "Item 17 - LAST"
  144. '            )
  145. ')
  146.  
  147. 'Define Link "ADSR" (
  148. '    Type Envelope (
  149. '        Position 168 38
  150. '        Size 135 50
  151. '        Max 127 127
  152. '        Data (
  153. '            0 0
  154. '            "Attack" 127
  155. '            "Decay" "Sustain"
  156. '            HOLD
  157. '            "Release" 0
  158. '        )
  159. '    )
  160. ')
  161.  
  162. Window "Main" (
  163.     Border (
  164.         Position 10 10
  165.         Size 320 180
  166.         Frame 3D-Recess
  167.     )
  168.  
  169.     Border (
  170.         Position 233 20
  171.         Size 38 26
  172.         Fill 1
  173.         Frame None
  174.     )
  175.     Border (
  176.         Position 271 20
  177.         Size 38 26
  178.         Fill 3
  179.         Frame None
  180.     )
  181.  
  182.     Text "ABCDEFGHIJK" (
  183.         Position 240 35
  184.         Font "Numbers"
  185.         Color 2
  186.     )
  187.  
  188.     Gadget "1" ( '1
  189.         Position 20 40
  190.         Font "Numbers"
  191.         Type Slider (
  192.             Range 0 127
  193.             Default 5
  194.             Size 100 12
  195.             Direction HORIZONTAL
  196.             LevelPlace RIGHT
  197.         )
  198.     )
  199.  
  200.     Gadget "2" ( '2
  201.         Position 20 52
  202.         Font "Numbers"
  203.         Type Slider (
  204.             Range 0 127
  205.             Default 110
  206.             Size 100 12
  207.             Direction HORIZONTAL
  208.             LevelPlace RIGHT
  209.         )
  210.     )
  211.  
  212.     Gadget "3" ( '3
  213.         Position 20 64
  214.         Font "Numbers"
  215.         Type Slider (
  216.             Range 0 127
  217.             Default 42
  218.             Size 100 12
  219.             Direction HORIZONTAL
  220.             LevelPlace RIGHT
  221.         )
  222.     )
  223.  
  224.     Gadget "4" ( '4
  225.         Position 20 76
  226.         Font "Numbers"
  227.         Type Slider (
  228.             Range 0 127
  229.             Default 10
  230.             Size 100 12
  231.             Direction HORIZONTAL
  232.             LevelPlace RIGHT
  233.         )
  234.     )
  235.  
  236.     Gadget "5" ( '5
  237.         Position 20 88
  238.         Font "Numbers"
  239.         Type Slider (
  240.             Range 0 127
  241.             Default 127
  242.             Size 100 12
  243.             Direction HORIZONTAL
  244.             LevelPlace RIGHT
  245.         )
  246.     )
  247.  
  248.     Gadget "ARexxTest1" ( '6
  249.         Position 20 25
  250.         Type Button (
  251.             Label "Automate"
  252.             Size 100 12
  253.             Link "Auto-E"
  254.         )
  255.     )
  256.  
  257.     Gadget "TextTest" ( '7
  258.         Position 200 70
  259.         Type Slider (
  260.             Range 0 4
  261.             Size 100 15
  262.             Direction HORIZONTAL
  263.             Default 2
  264.             Link "SliderTextTest"
  265.         )
  266.     )
  267.  
  268.     Gadget "A" ( '8
  269.         Position 200 130
  270.         Font "Numbers"
  271.         Type Slider (
  272.             Range 0 200
  273.             Default 51
  274.             Size 100 10
  275.             Direction HORIZONTAL
  276.             Link "EQ_Gain"
  277.         )
  278.     )
  279.  
  280.     Text "Calculate" (
  281.         Position 34 137
  282.         Font "Topaz2"
  283.         Color 2
  284.         Shadow
  285.     )
  286.     Gadget "Calc_1" ( '9
  287.         Position 20 143
  288.         Font "Numbers"
  289.         Type Slider (
  290.             Range 0 127
  291.             Default 5
  292.             Size 100 12
  293.             Direction HORIZONTAL
  294.             LevelPlace RIGHT
  295.             Link "Calc-E"
  296.         )
  297.     )
  298.     Text "+" (
  299.         Position 150 163
  300.         Font "Topaz2"
  301.         Color 2
  302.     )
  303.     Gadget "Calc_2" ( '10
  304.         Position 20 155
  305.         Font "Numbers"
  306.         Type Slider (
  307.             Range 0 127
  308.             Default 6
  309.             Size 100 12
  310.             Direction HORIZONTAL
  311.             LevelPlace RIGHT
  312.             Link "Calc-E"
  313.         )
  314.     )
  315.     Text "=" (
  316.         Position 150 175
  317.         Font "Topaz2"
  318.         Color 2
  319.     )
  320.     Gadget "Calc_3" ( '11
  321.         Position 20 167
  322.         Font "Numbers"
  323.         Type Slider (
  324.             Range 0 254
  325.             Default 11
  326.             Size 100 12
  327.             Direction HORIZONTAL
  328.             LevelPlace RIGHT
  329.         )
  330.     )
  331. )
  332.  
  333. Window "Second" (
  334.     Border (
  335.         Position 20 10
  336.         Size 150 150
  337.         Fill 3
  338.     )
  339.  
  340.     Gadget "Borna" ( '12
  341.         Position 200 60
  342.         Font "Numbers"
  343.         Type Slider (
  344.             Range 10 99
  345.             Size 15 100
  346.             Direction VERTICAL
  347.             LevelPlace BELOW
  348.             LevelText "goombas"
  349.         )
  350.     )
  351.  
  352.     Gadget "Cycla" ( '13
  353.         Position 80 60
  354.         Type Cycle (
  355.             Width 3
  356.             Data (
  357.                 "OFF"
  358.                 "ON"
  359.                 "YES"
  360.             )
  361.         )
  362.     )
  363.  
  364.     Gadget "Cyclab" ( '14
  365.         Position 80 80
  366.         Type Cycle (
  367.             Width 3
  368.             Data (
  369.                 "One"
  370.                 "Two"
  371.                 "Three"
  372.             )
  373.             DataValues (
  374.                 3 7 $12
  375.             )
  376.         )
  377.     )
  378.  
  379.     Gadget "Name" ( '15
  380.         Position 40 115
  381.         Font "Topaz2"
  382.         Type String (
  383.             MaxChars 10
  384.         )
  385.     )
  386.  
  387.     Text DEVICE (
  388.         Position 40 35
  389.         Font "Garnet"
  390.     )
  391. )
  392.  
  393. Window "Third" (
  394.     Gadget "ListTest" ( '16
  395.         Position 10 10
  396.         Type List (
  397.             Size 150 100
  398. 'Data "List"
  399.             Data (
  400.                 "Item 0 - FIRST"
  401.                 "Item 1"
  402.                 "Item 2"
  403.                 "Item 3"
  404.                 "Item 4"
  405.                 "Item 5"
  406.                 "Item 6"
  407.                 "Item 7"
  408.                 "Item 8"
  409.                 "Item 9"
  410.                 "Item 10"
  411.                 "Item 11"
  412.                 "Item 12"
  413.                 "Item 13"
  414.                 "Item 14"
  415.                 "Item 15"
  416.                 "Item 16"
  417.                 "Item 17 - LAST"
  418.             )
  419.             Default 15
  420.         )
  421.     )
  422.  
  423.  
  424.     Text "A" (
  425.         Position 168 101
  426.     )
  427.     Gadget "Attack" ( '17
  428.         Position 178 92
  429.         Font "Numbers"
  430.         Type Slider (
  431.             Range 0 127
  432.             Default 5
  433.             Size 100 12
  434.             Direction HORIZONTAL
  435.             LevelPlace RIGHT
  436. '            Link "ADSR"
  437.         )
  438.     )
  439.  
  440.     Text "D" (
  441.         Position 168 113
  442.     )
  443.     Gadget "Decay" ( '18
  444.         Position 178 104
  445.         Font "Numbers"
  446.         Type Slider (
  447.             Range 0 127
  448.             Default 110
  449.             Size 100 12
  450.             Direction HORIZONTAL
  451.             LevelPlace RIGHT
  452. '            Link "ADSR"
  453.         )
  454.     )
  455.  
  456.     Text "S" (
  457.         Position 168 125
  458.     )
  459.     Gadget "Sustain" ( '19
  460.         Position 178 116
  461.         Font "Numbers"
  462.         Type Slider (
  463.             Range 0 127
  464.             Default 42
  465.             Size 100 12
  466.             Direction HORIZONTAL
  467.             LevelPlace RIGHT
  468. '            Link "ADSR"
  469.         )
  470.     )
  471.  
  472.     Text "R" (
  473.         Position 168 137
  474.     )
  475.     Gadget "Release" ( '20
  476.         Position 178 128
  477.         Font "Numbers"
  478.         Type Slider (
  479.             Range 0 127
  480.             Default 10
  481.             Size 100 12
  482.             Direction HORIZONTAL
  483.             LevelPlace RIGHT
  484. '            Link "ADSR"
  485.         )
  486.     )
  487. )
  488.  
  489. Window "Draggable" (
  490.     Text "Drag me!" (
  491.         Position 20 35
  492.         Font "Garnet"
  493.         Color 2
  494.         Shadow
  495.     )
  496.  
  497.     Gadget "6" ( '21
  498.         Position 20 80
  499.         Font "Topaz2"
  500.         Type Slider (
  501.             Range 0 200
  502.             Size 160 12
  503.             Direction HORIZONTAL
  504.             LevelPlace RIGHT
  505.             LevelText "ms"
  506.             Default 40
  507.         )
  508.     )
  509.  
  510.     Gadget "MX" ( '22
  511.         Position 180 16
  512.         Font "Topaz2p"
  513.         Type MX (
  514.             Data (
  515.                 "Mutually"
  516.                 "Exclusive"
  517.                 "Gadget"
  518.                 "Type"
  519.             )
  520.             Spacing 2
  521.             LabelPlace RIGHT
  522.         )
  523.     )
  524.  
  525.     Gadget "Note" ( '23
  526.         Position 79 62
  527. '        Font "Topaz2p"
  528.         Type Slider (
  529.             Range 0 127
  530.             Size 100 12
  531.             Direction HORIZONTAL
  532.             LevelPlace RIGHT
  533.             Default 40
  534.             Link "Note"
  535.         )
  536.     )
  537. )
  538.